package com.cn.yunhe.rentcars.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员级别表对应实体类
 * 
 * @author 朱钦明
 *
 */
public class MemberLevel implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String levelId;//级别编号
	private String levelName;//级别名称
	private int minScore;//最小信用
	private int maxScore;//最大信用
	private double discount;//租车折扣
	private Date addTime;//系统时间
	
	/**
	 * 无参构造函数
	 */
	public MemberLevel() {
		
	}
	/**
	 * 有四个参数的构造函数
	 * @param levelName 级别名称
	 * @param minScore 最小信用
	 * @param maxScore 最大信用
	 * @param discount 租车折扣
	 */
	public MemberLevel(String levelName, int minScore, int maxScore,
			double discount) {
		
		this.levelName = levelName;
		this.minScore = minScore;
		this.maxScore = maxScore;
		this.discount = discount;
	}
	/**
	 * 有五个参数的构造函数
	 * @param levelId 级别编号
	 * @param levelName 级别名称
	 * @param minScore 最小信用
	 * @param maxScore 最大信用
	 * @param discount 租车折扣
	 */
	public MemberLevel(String levelId, String levelName, int minScore,
			int maxScore, double discount) {
		
		this.levelId = levelId;
		this.levelName = levelName;
		this.minScore = minScore;
		this.maxScore = maxScore;
		this.discount = discount;
	}
	
	/**
	 * 属性赋值get和set方法
	 */
	public String getLevelId() {
		return levelId;
	}
	public void setLevelId(String levelId) {
		this.levelId = levelId;
	}
	public String getLevelName() {
		return levelName;
	}
	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}
	public int getMinScore() {
		return minScore;
	}
	public void setMinScore(int minScore) {
		this.minScore = minScore;
	}
	public int getMaxScore() {
		return maxScore;
	}
	public void setMaxScore(int maxScore) {
		this.maxScore = maxScore;
	}
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	
}
